import request from '@/utils/request'

// 查询行政处罚列表
export function listCompanyAdstPunish(query) {
  return request({
    url: '/punish/companyAdstPunish/list',
    method: 'get',
    params: query
  })
}

// 查询行政处罚详细
export function getCompanyAdstPunish(id) {
  return request({
    url: '/punish/companyAdstPunish/' + id,
    method: 'get'
  })
}

// 保存行政处罚
export function saveCompanyAdstPunish(data) {
  return request({
    url: '/punish/companyAdstPunish/save',
    method: 'post',
    data: data
  })
}

// 删除行政处罚
export function delCompanyAdstPunish(id) {
  return request({
    url: '/punish/companyAdstPunish/' + id,
    method: 'delete'
  })
}

// 导出行政处罚
export function exportCompanyAdstPunish(query) {
  return request({
    url: '/punish/companyAdstPunish/export',
    method: 'get',
    params: query
  })
}
